import request from '@/utils/request'

export default {
    getDictByDictCode(dictCode) {
        return request({
            url: `/admin/cmn/dict/getDictByDictCode/${dictCode}`,
            method: 'get'
        })
    },

    getChildDataById(parentId) {
        return request({
            url: `/admin/cmn/dict/getChildDataById/${parentId}`,
            method: 'get'
        })
    }
}